package com.springmvc.service.impl;

import com.springmvc.pojo.TUsers;
import com.springmvc.service.TUserService;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * @Author 咕唧
 * @Date 2022/5/22 14:16
 * @Version 1.0
 */
@Service
public class TUserServiceImpl implements TUserService {

    @Override
    public TUsers findByName(String name) {
        TUsers tUsers=new TUsers();
        tUsers.setId(1L);
        tUsers.setName(name);
        tUsers.setPassword("123");
        tUsers.setBirthday(new Date());
        tUsers.setRegistTime(new Date());
        tUsers.setSex("男");
        return tUsers;
    }
}
